import request from '@/utils/request'

// 查询资讯回复信息列表
export function listConsultationreply(query) {
  return request({
    url: '/consultationreply/consultationreply/list',
    method: 'get',
    params: query
  })
}

// 查询资讯回复信息详细
export function getConsultationreply(replyId) {
  return request({
    url: '/consultationreply/consultationreply/' + replyId,
    method: 'get'
  })
}

// 新增资讯回复信息
export function addConsultationreply(data) {
  return request({
    url: '/consultationreply/consultationreply',
    method: 'post',
    data: data
  })
}

// 修改资讯回复信息
export function updateConsultationreply(data) {
  return request({
    url: '/consultationreply/consultationreply',
    method: 'put',
    data: data
  })
}

// 删除资讯回复信息
export function delConsultationreply(replyId) {
  return request({
    url: '/consultationreply/consultationreply/' + replyId,
    method: 'delete'
  })
}
